package com.kkwrite.regimen.provider.service.avtivity;

import com.kkwrite.regimen.common.entity.dto.activity.ActivityApplyInDTO;
import com.kkwrite.regimen.common.entity.dto.activity.ActivityApplyOutDTO;
import com.kkwrite.regimen.common.entity.dto.activity.ActivityDTO;

/**
 * 活动类服务
 *
 * @author jinying
 * 
 */
public interface ActivityService {

	 /**
     * 新增活动报名
     * @param activityApplyInDTO 活动报名入参
     * 
     * */
    ActivityApplyOutDTO insertActivityApply(ActivityApplyInDTO activityApplyInDTO,Long userId);
    
    /**
     * 查询活动
     * @param activityCode 活动编号
     * 
     * */
    ActivityDTO queryActivity(String activityCode,Long userId);
}
